package com.jdrx.ocp.beans.dto.platform;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotBlank;

/**
 * 创建平台信息(旧系统配置)
 *
 * @author : zhongsen
 * @date : 2019/02/12 15:05
 */
@ApiModel(value = "创建平台信息(旧系统配置)", description = "创建平台信息(旧系统配置)")
public class CreatePlatformExtendDTO {

    @NotBlank
    @Length(min = 1, max = 100)
    @ApiModelProperty(value = "平台名称", required = true)
    String name;

    @NotBlank
    @Length(min = 1, max = 100)
    @ApiModelProperty(value = "平台标识符", required = true)
    String prefix;

    @ApiModelProperty(value = "图标", required = true)
    String icon;

    @ApiModelProperty(value = "是否启用(0表示启用；1表示禁用)", required = true)
    Integer useable;

    @ApiModelProperty(value = "服务说明或备注 ")
    private String remark;

    @ApiModelProperty(value = "服务供应商名称", notes = "服务供应商名称")
    private String serviceRoviders;

    @ApiModelProperty(value = "回调地址 ")
    private String callBackAddress;

    @ApiModelProperty(value = "服务分组分类 ")
    private Integer serviceGroup;
    @ApiModelProperty(value = "登录地址 ")
    private String  loginAddress;
    @ApiModelProperty(value = "账号字段 ")
    private String  accountField;
    @ApiModelProperty(value = "密码字段 ")
    private String  passwordField;
    @ApiModelProperty(value = "跳转方式方法 ")
    private Boolean isIframe;

    @ApiModelProperty(value = "是否需要处理验证码")
    private Boolean isNeedVerification;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPrefix() {
        return prefix;
    }

    public void setPrefix(String prefix) {
        this.prefix = prefix;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public Integer getUseable() {
        return useable;
    }

    public void setUseable(Integer useable) {
        this.useable = useable;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getServiceRoviders() {
        return serviceRoviders;
    }

    public void setServiceRoviders(String serviceRoviders) {
        this.serviceRoviders = serviceRoviders;
    }

    public Integer getServiceGroup() {
        return serviceGroup;
    }

    public void setServiceGroup(Integer serviceGroup) {
        this.serviceGroup = serviceGroup;
    }

    public String getLoginAddress() {
        return loginAddress;
    }

    public void setLoginAddress(String loginAddress) {
        this.loginAddress = loginAddress;
    }

    public String getAccountField() {
        return accountField;
    }

    public void setAccountField(String accountField) {
        this.accountField = accountField;
    }

    public String getPasswordField() {
        return passwordField;
    }

    public void setPasswordField(String passwordField) {
        this.passwordField = passwordField;
    }

    public Boolean getIframe() {
        return isIframe;
    }

    public void setIframe(Boolean iframe) {
        isIframe = iframe;
    }

    public Boolean getNeedVerification() {
        return isNeedVerification;
    }

    public void setNeedVerification(Boolean needVerification) {
        isNeedVerification = needVerification;
    }

    public String getCallBackAddress() {
        return callBackAddress;
    }

    public void setCallBackAddress(String callBackAddress) {
        this.callBackAddress = callBackAddress;
    }
}
